package com.zju.DoctorGo.service.impl;

import com.zju.DoctorGo.entity.Patient;
import com.zju.DoctorGo.service.PatientService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zju.DoctorGo.mapper.PatientMapper;
import org.springframework.stereotype.Service;

@Service
public class PatientServiceImpl extends ServiceImpl<PatientMapper, Patient> implements PatientService {
    @Override
    public void createPatient(Patient patient) {
        this.save(patient);
    }
}